package com.fanh.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class GuidePay implements Serializable {
    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "1、所有，2、按课程 3，充值")
    private String type;

    @ApiModelProperty(value = "1、微信支付， 2、苹果支付")
    private String method;

    @ApiModelProperty(value = "时间范围：1、包月， 2、包年，3、 整个课程，4，充值")
    private String timeScope;

    @ApiModelProperty(value = "开始时间")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal price;

    @ApiModelProperty(value = "支付账号")
    private String account;

    @ApiModelProperty(value = "课程编号")
    private String courseId;

    @ApiModelProperty(value = "课次编号")
    private String lessonId;

    @ApiModelProperty(value = "支付人员")
    private String userId;

    @ApiModelProperty(value = "0、未支付，1、支付成功，2、支付失败")
    private String status;

    @ApiModelProperty(value = "支付信息，主要存放错误信息")
    private String payInfo;

    @ApiModelProperty(value = "第三方订单号,微信订单号")
    private String thirdOrder;

    @ApiModelProperty(value = "支付虚拟币")
    private BigDecimal coin;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getTimeScope() {
        return timeScope;
    }

    public void setTimeScope(String timeScope) {
        this.timeScope = timeScope;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPayInfo() {
        return payInfo;
    }

    public void setPayInfo(String payInfo) {
        this.payInfo = payInfo;
    }

    public String getThirdOrder() {
        return thirdOrder;
    }

    public void setThirdOrder(String thirdOrder) {
        this.thirdOrder = thirdOrder;
    }

    public BigDecimal getCoin() {
        return coin;
    }

    public void setCoin(BigDecimal coin) {
        this.coin = coin;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", method=").append(method);
        sb.append(", timeScope=").append(timeScope);
        sb.append(", startDate=").append(startDate);
        sb.append(", endDate=").append(endDate);
        sb.append(", payTime=").append(payTime);
        sb.append(", price=").append(price);
        sb.append(", account=").append(account);
        sb.append(", courseId=").append(courseId);
        sb.append(", lessonId=").append(lessonId);
        sb.append(", userId=").append(userId);
        sb.append(", status=").append(status);
        sb.append(", payInfo=").append(payInfo);
        sb.append(", thirdOrder=").append(thirdOrder);
        sb.append(", coin=").append(coin);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}